/**
 * Created by WT-SUN on 2017/4/26.
 */

$(function () {
    var overHaulData=[{id:'0',text:'定期'},{id:'1',text:'不定期'}];
    pageComData('overHaulQuery',overHaulData);
    var stateData=[{id:'0',text:'启用'},{id:'1',text:'停用'}];
    pageComData('stateQuery',stateData);
    var isIntactData=[{id:'0',text:'是'},{id:'1',text:'否'}];
    pageComData('isIntactQuery',isIntactData);
});
function pageComData(id,data) {
    var pageId='#'+id;
    $(pageId).combobox({
        data: data,
        valueField: 'id',
        textField: 'text',
        editable: false,
        panelHeight: '200',
        selectOnNavigation:true,
    });
}
